using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.ModelConfiguration;

namespace BaseData.Models.Mapping
{
    public class Web_Base_Exts_ResxMap : EntityTypeConfiguration<Web_Base_Exts_Resx>
    {
        public Web_Base_Exts_ResxMap()
        {
            // Primary Key
            this.HasKey(t => t.PkId);

            // Properties
            // Table & Column Mappings
            this.ToTable("Web_Base_Exts_Resx");
            this.Property(t => t.PkId).HasColumnName("PkId");
            this.Property(t => t.NodeId).HasColumnName("NodeId");
            this.Property(t => t.InfoId).HasColumnName("InfoId");
            this.Property(t => t.Banner).HasColumnName("Banner");
            this.Property(t => t.BannersCount).HasColumnName("BannersCount");
            this.Property(t => t.Guide).HasColumnName("Guide");
            this.Property(t => t.GuidesCount).HasColumnName("GuidesCount");
            this.Property(t => t.Icon).HasColumnName("Icon");
            this.Property(t => t.IconsCount).HasColumnName("IconsCount");
            this.Property(t => t.Image).HasColumnName("Image");
            this.Property(t => t.Images).HasColumnName("Images");
            this.Property(t => t.ImagesCount).HasColumnName("ImagesCount");
            this.Property(t => t.Media).HasColumnName("Media");
            this.Property(t => t.MediaCount).HasColumnName("MediaCount");
            this.Property(t => t.Doc).HasColumnName("Doc");
            this.Property(t => t.DocsCount).HasColumnName("DocsCount");
            this.Property(t => t.Zip).HasColumnName("Zip");
            this.Property(t => t.ZipCount).HasColumnName("ZipCount");
        }
    }
}
